package com.treasure.mall.biz.vo.summary;

import lombok.Data;

import java.math.BigDecimal;

/**
 *
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.vo.summary
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/11 17:44
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.biz.vo.summary Inc. All rights reserved.
 */
@Data
public class SummaryVO {
    /**
     * 总数量
     */
    private Integer count;
    /**
     * 总佣金
     */
    private BigDecimal sum;

    public Integer getCount() {
        if (count != null) {
            return count;
        }
        return 0;
    }
}
